<%@ page import="cn.goktech.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: Sarah
  Date: 2023/3/23
  Time: 13:09
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";

%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <base href="<%= basePath %>"/>
    <title>测试ModelAndView</title>
</head>
<body>
<h3>ModeAndView数据获取</h3>

${str}
${user}
${id}

</body>
</html>